package com.fist.eth.flutter_plugin_eth_wallet

class Result {
    var success = true
    var errorMessage = ""

    constructor()

    constructor(err: String) {
        this.success = false
        this.errorMessage = err
    }

    fun toJsonStr(): String {
        return "{\"success\":$success,\"errorMessage\":\"$errorMessage\"}"
    }
}